widget: Cache clip from creating render node
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Mar 2018 15:52:47 +0000 (17:52 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 5 Apr 2018 12:56:38 +0000 (14:56 +0200)
commit4bf90633eaf945e88a8ad9f752b239554ac1dfc8
treed48578819178f2129d47d346d5321d7be0d06b4f
parent278ab3c4debcd7c10b502ea51f7cff43e210218a
widget: Cache clip from creating render node

When the clip changes that is passed to a snapshot function, we need to
create eventual cached render nodes because they might not have drawn
their whole area before.

Fixes issues with redrawing when scrolling.
gtk/gtksnapshot.c
gtk/gtksnapshotprivate.h
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h